# Site Collection Configuration

Configures the provisioning of a SharePoint site collection, including URL patterns, storage quotas, sharing policies, sensitivity labels, and associated site structure.

Referenced by: SiteCollection file handler via the SiteCollectionSet column.

# Overview

SiteCollectionCfg defines the properties and structure applied when creating a new SharePoint site collection. It references a SiteCfg (for site structure) and optionally a GroupCfg (for group definitions).

Child configurations:

  • SiteCfg — site structure, columns, content types, libraries (referenced via SiteSet)
  • GroupCfg — SharePoint groups to create (referenced via GroupSet)

# Applied when

A site collection is provisioned when:

  • The SiteCollection file handler references this configuration name
  • The provisioning job creates a new site collection using this template
  • The Owner account exists in the directory and has permissions to create site collections
  • Applied once during site collection creation; retroactive updates to the site collection structure require re-provisioning or manual SharePoint administration
  • ConvertToGroupOrTeam conversion (if configured) occurs immediately after site collection creation, provided the specified Microsoft 365 Group or Teams team exists

# Core settings

# Name

Type: string | Default: — | Required: Yes

Unique name for this configuration. Referenced from file handlers via SiteCollectionSet column.

# FormatUrl

Type: string | Default: — | Required: Yes

Server-relative URL pattern. Supports dynamic variables: {ClientCode}, {MatterCode}. Example: /teams/{MatterCode}

# Owner

Type: string | Default: — | Required: Yes

Login name of the site collection primary administrator.

# SiteSet

Type: string | Default: — | Required: Yes

Name of the SiteCfg to apply as the root site template.

# GroupSet

Type: string | Default: — | Required: No

Name of the GroupCfg to apply (creates groups on the site collection).

# Language

Type: integer? | Default: — | Required: No

LCID (opens new window) for site collection language (e.g., 1033 = English US).

# Version

Type: enum? | Default: — | Required: No

SharePoint version: SP2010 (14), SP2013 (15). Only for SharePoint on-premises.

# TimeZone

Type: integer? | Default: 4 | Required: No

SharePoint time zone ID. See time zone reference (opens new window).

# WaitTimeWhenSiteCollectionIsCreated

Type: integer | Default: 5 | Required: No

Seconds to wait after creation for SharePoint propagation. Increase if SharePoint Online is slow.

# ConvertToGroupOrTeam

Type: string | Default: — | Required: No

Convert this site collection to a Microsoft 365 Group or Team. Values: "true", "false", or variable like "{IsTeam}".

# Storage quotas (SharePoint on-premises)

# StorageMaximumLevel

Type: long? | Default: — | Required: No

Maximum storage quota in GB.

# StorageWarningLevel

Type: long? | Default: — | Required: No

Storage quota warning threshold in GB.

# UserCodeMaximumLevel

Type: double? | Default: — | Required: No

Maximum machine resources for user code.

# UserCodeWarningLevel

Type: double? | Default: — | Required: No

Warning threshold for user code resources.

# SharePoint Online settings

Note: All properties in this section apply only to SharePoint Online. They are ignored on SharePoint 2016 and on-premises deployments.

# SharingCapabilities

Type: enum? | Default: — | Required: No

External sharing level: Disabled, ExternalUserSharingOnly, ExternalUserAndGuestSharing, ExistingExternalUserSharingOnly.

# Classification

Type: string | Default: — | Required: No

Site classification (custom values or Microsoft 365 default classifications).

# SensitivityLabel

Type: string | Default: — | Required: No

Sensitivity label ID to apply. See sensitivity labels for sites and groups (opens new window).

# HubSiteUrl

Type: string | Default: — | Required: No

URL of the hub site (opens new window) to associate with.

# HubSiteId

Type: Guid? | Default: — | Required: No

Hub site ID (alternative to HubSiteUrl).

# BlockDownloadPolicy

Type: bool? | Default: — | Required: No

Prevent file downloads for users without managed devices. See block download policy (opens new window).

# ExcludeBlockDownloadPolicySiteOwners

Type: bool? | Default: — | Required: No

Only applies when BlockDownloadPolicy is true. Exclude site owners from the block download policy. Site owners can download files regardless of device management status.

# ReadOnlyForBlockDownloadPolicy

Type: bool? | Default: — | Required: No

Only applies when BlockDownloadPolicy is true. Enable read-only mode for users affected by block download policy (users can view but not download or edit).

# ConditionalAccessPolicy

Type: enum? | Default: — | Required: No

Conditional access policy type: AllowFullAccess, AllowLimitedAccess, BlockAccess. Determines what actions unmanaged devices can perform on site content.

# AuthenticationContextName

Type: string | Default: — | Required: No

Only applies when ConditionalAccessPolicy is AuthenticationContext. Name of the authentication context to enforce for this site.

# LimitedAccessFileType

Type: enum? | Default: — | Required: No

Only applies when ConditionalAccessPolicy is AllowLimitedAccess. Specifies which file types are allowed for unmanaged devices: OfficeOnlineFilesOnly (web-only), WebPreviewableFiles (web preview only), OtherFiles (other types).

# AllowEditing

Type: bool? | Default: — | Required: No

Only applies when ConditionalAccessPolicy is AllowLimitedAccess. Allow users on unmanaged devices to edit documents (web version).

# ReadOnlyForUnmanagedDevices

Type: bool? | Default: — | Required: No

Only applies when ConditionalAccessPolicy is AllowLimitedAccess. Force read-only mode for all users on unmanaged devices.

# ModernPageExtension

Type: bool? | Default: — | Required: No

Enable modern page extensions (SharePoint Online only).

# Document ID settings

# DocIDProviderUseDefaultPrefix

Type: bool? | Default: — | Required: No

Use the default tenant Document ID prefix. Set to false to use a custom prefix.

# DocIDProviderPrefixFormat

Type: string | Default: — | Required: No

Custom Document ID prefix (max 13 characters). Supports {MatterCode}. Ignored if DocIDProviderUseDefaultPrefix is true.

# Farm features

# FarmFeatures

Type: Guid (list) | Default: [DocIDProvider] | Required: No

Array of farm feature GUIDs to activate.

# DeactivateFarmFeatures

Type: Guid (list) | Default: — | Required: No

Array of farm feature GUIDs to deactivate.

# Modern site settings (SharePoint Online)

# CommunicationSiteDesign

Type: enum? | Default: — | Required: No

Modern site design: Team (-1), Topic (0), Showcase (1), Blank (2).

# CommunicationSiteDesignId

Type: Guid? | Default: — | Required: No

Site design template ID for custom designs.

Last Updated: 4/20/2026, 12:54:05 PM